package com.tabview.difficultpoint;

import android.content.Context;
import android.view.View;

import com.xudow.app.R;

/**
 * 作者：zhouXJ on 2016/3/30 14:26
 */
public class AttendanceAdapter extends BaseUiArrayAdapter<CourseDifficultPointContent, AttendanceHolder> {

    private Context context;

    public AttendanceAdapter(Context context) {
        super(context, R.layout.attendance_list_item_layout);
        this.context = context;
    }

    @Override
    protected AttendanceHolder createHolder(View view) {
        return new AttendanceHolder(view, context);
    }

    @Override
    protected void bundleValue(int position, AttendanceHolder holder, CourseDifficultPointContent item) {
        holder.bind(item);

    }
}
